package com.example.elasticsearchdemo.repository;

import com.example.elasticsearchdemo.bean.Book;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

/**
 * @author 炎霜
 * @date 2020/12/12 17:23
 * @description
 */
public interface BookRepository extends ElasticsearchRepository<Book, String> {
  Book getAllById(String id);
}
